package com.oops.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author vision
 * @description
 * @date 2022/4/14 15:41
 */
@Data
@TableName("t_order")
public class TOrder {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("order_name")
    private String orderName;

    @TableField("order_amount")
    private BigDecimal orderAmount;

    private Integer state;

    @TableField("create_time")
    private Date createTime;
}
